package com.ll.gulimall.ware.fegin;

import com.ll.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 你可以给网关发 也可以给远程服务发
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {


    /**
     * 信息
     */
    @GetMapping("/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
